part of 'user_progress_block_theme.dart';

class UserProgressBlockTextTheme {
  const UserProgressBlockTextTheme._internal({
    required this.pointCountLabel,
    required this.levelNumberLabel,
    required this.nextLevelRemainingPointCountInfo,
  });

  factory UserProgressBlockTextTheme.light() {
    return UserProgressBlockTextTheme._internal(
      pointCountLabel: UserProgressBlockStyles.pointCountLabelTextStyle.copyWith(
        color: CoreStyles.defaultDarkTextColor,
      ),
      levelNumberLabel: UserProgressBlockStyles.levelNumberLabelTextStyle.copyWith(
        color: CoreStyles.defaultDarkTextColor,
      ),
      nextLevelRemainingPointCountInfo:
          UserProgressBlockStyles.nextLevelRemainingPointCountInfoTextStyle.copyWith(
        color: CoreStyles.defaultDarkTextColor,
      ),
    );
  }

  factory UserProgressBlockTextTheme.dark() {
    return UserProgressBlockTextTheme._internal(
      pointCountLabel: UserProgressBlockStyles.pointCountLabelTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      levelNumberLabel: UserProgressBlockStyles.levelNumberLabelTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
      nextLevelRemainingPointCountInfo:
          UserProgressBlockStyles.nextLevelRemainingPointCountInfoTextStyle.copyWith(
        color: CoreStyles.defaultLightTextColor,
      ),
    );
  }

  final TextStyle pointCountLabel;
  final TextStyle levelNumberLabel;
  final TextStyle nextLevelRemainingPointCountInfo;
}
